package com.xh.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.demo.model.table.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wen
 * @since 2021-08-06
 */
public interface UserService extends IService<User> {

    User getUserByMaster(Long id);

    User getUserByOther(Long id);

    User saveByUserMaster(User user);

    User saveByUserOther(User user);

    User saveByUserMasterTransactional(User user);

    User saveByUserOtherTransactional(User user);
}
